import Vue from 'vue'
import App from './App.vue';
import api from "./api/user"

Vue.prototype.$http = api

import ZkTable from 'vue-table-with-tree-grid'
Vue.component(ZkTable.name, ZkTable);

// ElementUI
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

// router
import VueRouter from 'vue-router';
import router from './router';
Vue.use(VueRouter);

import store from "./store/"

Vue.config.productionTip = false

new Vue({
  store,
  router:router,
  render: h => h(App),
}).$mount('#app')
